.class final Lcom/melesta/engine/FacebookOperations$10;
.super Ljava/lang/Object;
.source "FacebookOperations.java"

# interfaces
.implements Ljava/lang/Runnable;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/melesta/engine/FacebookOperations;->facebookPost(Ljava/lang/String;II)V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x8
    name = null
.end annotation


# instance fields
.field final synthetic val$body:Ljava/lang/String;

.field final synthetic val$callback:I

.field final synthetic val$me:Lcom/melesta/engine/EngineActivity;

.field final synthetic val$user_data:I


# direct methods
.method constructor <init>(Ljava/lang/String;Lcom/melesta/engine/EngineActivity;II)V
    .locals 0
    .parameter
    .parameter
    .parameter
    .parameter

    .prologue
    .line 730
    iput-object p1, p0, Lcom/melesta/engine/FacebookOperations$10;->val$body:Ljava/lang/String;

    iput-object p2, p0, Lcom/melesta/engine/FacebookOperations$10;->val$me:Lcom/melesta/engine/EngineActivity;

    iput p3, p0, Lcom/melesta/engine/FacebookOperations$10;->val$user_data:I

    iput p4, p0, Lcom/melesta/engine/FacebookOperations$10;->val$callback:I

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 4

    .prologue
    .line 734
    :try_start_0
    new-instance v1, Landroid/os/Bundle;

    invoke-direct {v1}, Landroid/os/Bundle;-><init>()V

    .line 735
    .local v1, parameters:Landroid/os/Bundle;
    const-string v2, "link"

    sget-object v3, Lcom/melesta/engine/FacebookOperations;->mFacebookPageLink:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 736
    const-string v2, "name"

    sget-object v3, Lcom/melesta/engine/FacebookOperations;->mFacebookPageName:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 737
    const-string v2, "caption"

    sget-object v3, Lcom/melesta/engine/FacebookOperations;->mFacebookPageName:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 738
    const-string v2, "description"

    iget-object v3, p0, Lcom/melesta/engine/FacebookOperations$10;->val$body:Ljava/lang/String;

    invoke-virtual {v1, v2, v3}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 740
    iget-object v2, p0, Lcom/melesta/engine/FacebookOperations$10;->val$me:Lcom/melesta/engine/EngineActivity;

    new-instance v3, Lcom/melesta/engine/FacebookOperations$10$1;

    invoke-direct {v3, p0}, Lcom/melesta/engine/FacebookOperations$10$1;-><init>(Lcom/melesta/engine/FacebookOperations$10;)V

    invoke-static {v2, v1, v3}, Lcom/melesta/engine/Helpers;->showFeedDialogWithoutNotificationBar(Landroid/content/Context;Landroid/os/Bundle;Lcom/facebook/widget/WebDialog$OnCompleteListener;)V
    :try_end_0
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0

    .line 760
    .end local v1           #parameters:Landroid/os/Bundle;
    :goto_0
    return-void

    .line 757
    :catch_0
    move-exception v0

    .line 758
    .local v0, exc:Ljava/lang/Exception;
    const-string v2, "facebookPost-handler"

    invoke-static {v2, v0}, Lcom/melesta/engine/Error;->processException(Ljava/lang/String;Ljava/lang/Exception;)V

    goto :goto_0
.end method
